package com.whately.core.database.util;

import lombok.Getter;

/**
 * mybatis 操作符合
 */
@Getter
public enum MybatisOperatorEnum {

    EqualTo(" = "),


    NotEqualTo(" <> "),


    GreaterThan(" > "),

    GreaterThanOrEqualTo(" >= "),

    LessThan(" < "),

    LessThanOrEqualTo(" <= "),

    Like(" like "),

    NotLike(" not like "),

    In(" in "),

    NotIn(" not in "),

    between(" between "),

    NotBetween(" not between "),

    ;


    String operator;

    private MybatisOperatorEnum(String operator) {
        this.operator = operator;
    }

}
